package com.ecb.business.service;


import com.ecb.business.dto.user.QueryUserDTO;
import com.ecb.business.dto.user.UserDTO;

import java.util.List;

public interface UserManageService {

    List<UserDTO> getAllUser(QueryUserDTO queryDTO);

    boolean addUser(UserDTO addDTO);

    boolean checkIsAdmin();

    boolean checkIsAdminElseThrow();

    boolean userLogin(UserDTO addDTO);

    boolean updateUser(UserDTO addChainDTO);

    boolean deleteUser(UserDTO UserDTO);
}
